package com.example.attack.listener.enums;


import com.example.attack.utils.IBaseEnum;

public enum AttackListenerEnum implements IBaseEnum {

    COMMON_ATTACK("普通攻击", "1"),
    PHYSICAL_ATTACK("物理攻击", "2"),
    ;

    private String desc;
    private String code;

    AttackListenerEnum(String desc, String code) {
        this.desc = desc;
        this.code = code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

}
